<?php

/**
 * @author sanchikaro
 *
 */
class Application_Model_bean_ChucNangSanPham {
	private $id;
	private $tenChucNang;
	private $hinhIcon;
	private $moTa;
	private $trangThai;
	private $listItem=array();
	
	public function __construct($tenChucNang,$hinhIcon,$moTa) {
		$this->tenChucNang=$tenChucNang;
		$this->hinhIcon=$hinhIcon;
		$this->moTa=$moTa;
		$this->listItem=array();
	}
	
	/**
	 * @return the $tenChucNang
	 */
	public function getTenChucNang() {
		return $this->tenChucNang;
	}

	/**
	 * @return the $hinhIcon
	 */
	public function getHinhIcon() {
		return $this->hinhIcon;
	}

	/**
	 * @return the $moTa
	 */
	public function getMoTa() {
		return $this->moTa;
	}

	/**
	 * @param $tenChucNang the $tenChucNang to set
	 */
	public function setTenChucNang($tenChucNang) {
		$this->tenChucNang = $tenChucNang;
	}

	/**
	 * @param $hinhIcon the $hinhIcon to set
	 */
	public function setHinhIcon($hinhIcon) {
		$this->hinhIcon = $hinhIcon;
	}

	/**
	 * @param $moTa the $moTa to set
	 */
	public function setMoTa($moTa) {
		$this->moTa = $moTa;
	}
	/**
	 * @return the $trangThai
	 */
	public function getTrangThai() {
		return $this->trangThai;
	}

	/**
	 * @param $trangThai the $trangThai to set
	 */
	public function setTrangThai($trangThai) {
		$this->trangThai = $trangThai;
	}
	/**
	 * @return the $id
	 */
	public function getId() {
		return $this->id;
	}

	/**
	 * @param $id the $id to set
	 */
	public function setId($id) {
		$this->id = $id;
	}
	/**
	 * @return the $listItem
	 */
	public function getListItem() {
		return $this->listItem;
	}

	/**
	 * @param $listItem the $listItem to set
	 */
	public function setListItem($listItem) {
		$this->listItem = $listItem;
	}
	
	public function pustItem($Item){
		array_push($this->listItem,$Item);
	}
	
}

?>